extends "../weiershiqinwang-1/weiershiqinwang-1.gd"


func _extInit():
	._extInit()
	lv = 2             #等级的设置
	addSkill("本回合[非召唤]友军彻底阵亡时，提高自身30%射速", "怒火")
	
func _onCharaDel(cha):
	._onCharaDel(cha)
	if cha.team == team and not cha.isSumm:
		var spd = 0.3
		var buff = hasBuff("b_weiershi")
		if buff == null:
			addBuff(b_weiershi.new(spd))
		elif team == 1 || team == 2 and buff.att.spd < 3:
			buff.att.spd += spd

class b_weiershi:
	extends "../../../azurlane_ctrl/AzurBuff.gd"
	func _init(spd):
		attInit()
		id = "b_weiershi"	
		att.spd = spd
		buffName = "怒火"
		dispel = 2